﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Hotel.Models.Entity
{
    public class Cash
    {
        private int _pk_cashID;
        private int _timeCheck;
        private string _currency;
        private double _convertPrice;
        private int _rounding;
        private int _moreOneHour;
        private int _moreTwoHour;
        private int _moreThreeHour;
        private int _freeHour;

        public Cash(int PK_CashID, int TimeCheck, string Currency, double ConvertPrice, int Rounding, int MoreOneHour,
                    int MoreTwoHour, int MoreThreeHour, int FreeHour)
        {
            this.PkCashId = PK_CashID;
            this.TimeCheck = TimeCheck;
            this.Currency = Currency;
            this.ConvertPrice = ConvertPrice;
            this.Rounding = Rounding;
            this.MoreOneHour = MoreOneHour;
            this.MoreTwoHour = MoreTwoHour;
            this.MoreThreeHour = MoreThreeHour;
            this.FreeHour = FreeHour;
        }

        public Cash()
        {
            _pk_cashID = 0;
            _timeCheck = 0;
            _currency = string.Empty;
            _convertPrice = 0;
            _rounding = 0;
            _moreOneHour = 0;
            _moreTwoHour = 0;
            _moreThreeHour = 0;
            _freeHour = 0;
        }

        public int PkCashId
        {
            get { return _pk_cashID; }
            set { _pk_cashID = value; }
        }

        public int TimeCheck
        {
            get { return _timeCheck; }
            set { _timeCheck = value; }
        }

        public string Currency
        {
            get { return _currency; }
            set { _currency = value; }
        }

        public double ConvertPrice
        {
            get { return _convertPrice; }
            set { _convertPrice = value; }
        }

        public int Rounding
        {
            get { return _rounding; }
            set { _rounding = value; }
        }

        public int MoreOneHour
        {
            get { return _moreOneHour; }
            set { _moreOneHour = value; }
        }

        public int MoreTwoHour
        {
            get { return _moreTwoHour; }
            set { _moreTwoHour = value; }
        }

        public int MoreThreeHour
        {
            get { return _moreThreeHour; }
            set { _moreThreeHour = value; }
        }

        public int FreeHour
        {
            get { return _freeHour; }
            set { _freeHour = value; }
        }
    }
}